* {
  margin: 0;
  padding: 0;
}

html,
body {
  background: rgb(243, 243, 243);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

#app {
  width: 100%;
  height: 100%;
}

.over-scroll {
  height: 100%;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 8px; /* 竖向滚动条宽度 */
    height: 8px; /* 横向滚动条高度 */
  }

  /* 轨道背景 */
  &::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* 滑块 */
  &::-webkit-scrollbar-thumb {
    background: #bebebe;
    border-radius: 10px;
  }

  /* 当滚动条被悬停时的滑块 */
  &::-webkit-scrollbar-thumb:hover {
    background: #afafaf;
  }
}

.mb20 {
  margin-bottom: 20px;
}

.tree-box {
  overflow-y: auto;
  height: calc(100vh - 250px);
  padding: 10px 0;
  border-radius: 5px;
}

.custom-tree-node {
  display: flex;
  align-items: center;
}

.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: rgb(83, 143, 252);
  color: #fff;
  border-radius: 3px;
}

.flex-container {
  display: flex;

  .left {
    flex: 0 0 300px;
    margin-right: 20px;
    overflow: auto;

    .el-button--mini.is-circle {
      padding: 3px;
      margin-left: 3px;
    }
  }

  .right {
    flex: 1;
    box-sizing: border-box;
    overflow-y: auto;
  }
}

.align-right {
    text-align: right;
}